package com.love.poetry.interfaces;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping(value="/help")
public class HelpController {
	
	private static final String ABOUTUS_VIEW="/help/aboutus";
	private static final String COOPERATE_VIEW="/help/cooperate";
	private static final String FRIENDLYLINKS_VIEW="/help/friendlylinks";
	private static final String ANNOUNCE_VIEW="/help/announce";
	
	@RequestMapping(value={"/aboutus.html"},method=RequestMethod.GET)
	public String aboutus(){		
		return ABOUTUS_VIEW;
	}
	
	@RequestMapping(value={"/cooperate.html"},method=RequestMethod.GET)
	public String cooperate(){		
		return COOPERATE_VIEW;
	}
	
	@RequestMapping(value={"/friendlylinks.html"},method=RequestMethod.GET)
	public String friendlylinks(){		
		return FRIENDLYLINKS_VIEW;
	}
	
	@RequestMapping(value={"/announce.html"},method=RequestMethod.GET)
	public String announce(){		
		return ANNOUNCE_VIEW;
	}
}